package com.code.zg.news.model.http;

import com.code.zg.news.model.bean.WelcomeBean;

import retrofit2.http.GET;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by zhanggang on 2017/2/27.
 */

public interface ZhihuApis {
    String HOST = "http://news-at.zhihu.com/api/4/";
    @GET("start-image/{res}")
    Observable<WelcomeBean> getWelcomeInfo(@Path("res")String res);
}
